/*
 * Copyright (c) 2019-2020, https://api.iot.10086.cn/(https://gitee.com/cmcc-iot-api/iot-card-open-application/).
 */
package cn.iot.card.open.ec.dto.groupinfo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 群组所属成员查询结果
 *
 * @author cmcc-iot-api
 * @date 20200116 11:22:11
 */
public class EcGroupMemberDTO implements Serializable {

    private static final long serialVersionUID = -2064654553209784083L;

    /**
     * 成员总数
     */
    private String totalCount;

    /**
     * 页码
     */
    private String currenPage;

    /**
     * 是否是最后一页
     * Y: 是最后一页
     * N：不是最后一页
     */
    private String flag;

    /**
     * 成员信息列表
     */
    private List<EcGroupMemberInfo> memberinfoList = new ArrayList<>();

    public String getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(String totalCount) {
        this.totalCount = totalCount;
    }

    public String getCurrenPage() {
        return currenPage;
    }

    public void setCurrenPage(String currenPage) {
        this.currenPage = currenPage;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public List<EcGroupMemberInfo> getMemberinfoList() {
        return memberinfoList;
    }

    public void setMemberinfoList(
            List<EcGroupMemberInfo> memberinfoList) {
        this.memberinfoList = memberinfoList;
    }

    @Override
    public String toString() {
        return "EcGroupMemberDTO{" +
                "totalCount='" + totalCount + '\'' +
                ", currenPage='" + currenPage + '\'' +
                ", flag='" + flag + '\'' +
                ", memberinfoList=" + memberinfoList +
                '}';
    }
}
